package my.Interceptor.log1;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class App {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(Config1.class);
		Work bean = context.getBean(Work.class);
		bean.doWorkA();
		bean.doWorkB();
	}
}
